package edu.sctu.practice.class01.renpingan.assign03.geometricobject;

/**
 * Created by Administrator on 2015/10/22.
 */
public class Equal {

    public static boolean equalArea(GeometricObject object1, GeometricObject object2) {
        boolean flag = false;

        if (object1.findArea() == object2.findArea()) {
            flag = true;
        } else {
            flag = false;
        }

        return flag;
    }


}
